package com.chpro.finance.accountmanager.controller;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.chpro.finance.accountmanager.entity.OtherAccount;
import com.chpro.finance.accountmanager.service.OtherAccountService;
import com.chpro.orm.hibernate.ControllerBaseImpl;
import com.chpro.orm.hibernate.ServiceBase;

@Controller(value="otherAccountController")
@RequestMapping(value="OtherAccountController")
public class OtherAccountController extends ControllerBaseImpl<OtherAccount> {

	private OtherAccountService otherAccountService;
	
	@Resource(name="otherAccountServiceImpl")
	public void setOtherAccountService(OtherAccountService otherAccountService) {
		this.otherAccountService = otherAccountService;
	}



	@Override
	public ServiceBase<OtherAccount> getDao() {
		// TODO Auto-generated method stub
		return otherAccountService;
	}

}
